{% extends 'django_ledger/layouts/content_layout_1.html' %}
{% load static %}
{% load django_ledger %}

{% block view_content %}
    <div class="box">
        <a class="button is-primary is-outlined"
           href="{% url 'django_ledger:ledger-create' entity_slug=view.kwargs.entity_slug %}">Add</a>
        <a class="button is-dark"
           href="{% url 'django_ledger:entity-dashboard' entity_slug=view.kwargs.entity_slug %}">Back</a>
        {% ledgers_table %}
    </div>
{% endblock %}
